package com.yxuan.springboot.service.impl;

import com.yxuan.springboot.mapper.AllProfessionalMapper;
import com.yxuan.springboot.model.AllProfessional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.yxuan.springboot.model.FocusProfessional;
import com.yxuan.springboot.service.FocusProfessionalService;

import java.util.List;

/**
 * 
 * @author zchao
 *    FocusProfessional业务层实现类
 * @date 2023-06-11 18:57:33
 */
@Service
@Transactional
public class FocusProfessionalServiceImpl extends BaseServiceImpl<FocusProfessional> implements FocusProfessionalService {

    @Autowired
    private AllProfessionalMapper allProfessionalMapper;

    @Override
    public List<AllProfessional> getTotalProByUserID(Integer userID) {
        return allProfessionalMapper.queryTotalProByUserID(userID);
    }
}
